package com.service_api.repository;

import com.service_api.model.CompanyType;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyTypeRepository extends JpaRepository<CompanyType,String> {
    List<CompanyType> findAllByCity(String city, Sort sort);
}
